import { createContext } from 'use-context-selector';
import { Socket } from "socket.io-client";

interface ISocketIOContext {
  socket: Socket | undefined;
};
export const SocketIOContext = createContext<ISocketIOContext>({
  socket: undefined
});